﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QL_DTTN.DTO.DTO
{
    public partial class NhanVien:DtoClass
    {
        public NhanVien()
        { _tableName = "NhanVien";
        _ngaySinh = new DateTime();
        }
        public NhanVien(string maNhanVien,string tenNhanVien,bool gioiTinh,DateTime ngaySinh,string diaChi,string email,bool khoa)
        { _tableName = "NhanVien";
        this.MaNhanVien = maNhanVien;
        this.TenNhanVien = tenNhanVien;
        this.GioiTinh = gioiTinh;
        this.NgaySinh = ngaySinh;
        this.DiaChi = diaChi;
        this.Email = email;
        this.Khoa = khoa;
        }
        private string _maNhanVien = "";

        public string MaNhanVien
        {
            get { return _maNhanVien; }
            set { _maNhanVien = value; }
        }
        private string _tenNhanVien = "";

        public string TenNhanVien
        {
            get { return _tenNhanVien; }
            set { _tenNhanVien = value; }
        }
        private bool _gioiTinh = true;

        public bool GioiTinh
        {
            get { return _gioiTinh; }
            set { _gioiTinh = value; }
        }
        private DateTime _ngaySinh;

        public DateTime NgaySinh
        {
            get { return _ngaySinh; }
            set { _ngaySinh = value; }
        }
        private string _diaChi = "";

        public string DiaChi
        {
            get { return _diaChi; }
            set { _diaChi = value; }
        }
        private string _email = "";

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }
        private bool _khoa = false;

        public bool Khoa
        {
            get { return _khoa; }
            set { _khoa = value; }
        }
    }
}
